#ifndef __BUZZER_H_
#define __BUZZER_H_

#include "MyApplication.h"

//定义蜂鸣器状态枚举类型
typedef enum
{
    ON_Status   = (uint8_t)0x01,
    OFF_Status  = (uint8_t)0x02
}Buzzer_Status_t;

//定义结构体类型
typedef struct
{
    uint8_t Status;     //状态
    void (*Buzzer_ON)(void);
    void (*Buzzer_OFF)(void);
    void (*Buzzer_Flip)(void);
}Buzzer_t;

/* extern variables-----------------------------------------------------------*/
extern Buzzer_t Buzzer;
/* extern function prototypes-------------------------------------------------*/ 

#endif
/********************************************************
  End Of File
********************************************************/
